﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Modules.AccountDisplay"
    CodeBehind="AccountDisplay.ascx.cs" %>
<table width="100%" cellspacing="0" cellpadding="2" border="0">
    <tbody>
        <tr>
            <td width="40px" align="center">
              <asp:Image ID="imgFlag" runat="server" ImageUrl="~/images/flag.png" CssClass="flag" BorderStyle="None" />
            </td>
            <td width="40px" align="center">
              <nopCommerce:GlobalRadioButton runat="server" ID="rdShippingOption" Checked="false"
                   GroupName="accountOptionGroup" AutoPostBack="true" OnCheckedChanged="rdShippingOption_OnCheckedChanged" />
              <asp:HiddenField ID="hfAddressId" runat="server" Value='<%# Eval("AddressId") %>' />
            </td>
            <td style="vertical-align: middle; padding-left: 15px;">
              <asp:Literal ID="lCompany" runat="server"></asp:Literal>
            </td>
            <td align="right" style="padding: 5px 5px 5px 0px;">
                <%if (ShowEditButton)
                  { %>
                <asp:Button runat="server" ID="btnEditAccount" OnCommand="btnEditAccount_Click" Text=""
                    ValidationGroup="EditAccount" CssClass="editgridbutton" />
                <%} %>
                <%if (ShowDeleteButton)
                  { %>
                <asp:Button runat="server" ID="btnDeleteAccount" OnCommand="btnDeleteAccount_Click" OnClientClick="return confirm('Пожалуйста подтвердите удаление');" 
                    Text="" CausesValidation="false" CssClass="deletegridbutton" />
                <%} %>
            </td>
        </tr>
  </tbody>
</table>
